package com.dk.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor//无参构造
@AllArgsConstructor//有参构造
@TableName("tb_cities")
public class Tbcities {

    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    @TableField(value = "cityid")
    private String cityid;

    @TableField(value = "city")
    private String city;

    @TableField(value = "provinceid")
    private String provinceid;
}
